![]() |
OverrideIconRefFromResource |
||||
Header: | Icons.h | Carbon status: | Supported | |
Replaces the bitmaps in an IconRef with bitmaps from a specified resource file.
OSErr OverrideIconRefFromResource ( IconRef theIconRef, const FSSpec *resourceFile, SInt16 resourceID );
An IconRef to be updated.
A pointer to the file system specification structure for the resource file containing the replacement bitmaps.
The resource ID containing the replacement bitmaps. This value must be non-zero. You should provide a resource of type 'icns' if possible. If an 'icns' resource is not available, Icon Services uses standard icon suite resources, such as 'ICN#', instead.
A result code.
Supported in Carbon. Available in CarbonLib 1.0 and later when IconServicesLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by IconServicesLib 8.5 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)